<?php

class Work_Form_Login extends ZFKiller_Form {

	public function __construct($options = null) {
		parent::__construct(array(
					'name' => 'frmLogin',
				));

		$this->addElement($stEmail = new ZFKiller_Form_Element_Html5_Email('stemail'));
		$stEmail
				->setAttribs(array(
					'class' => 'xlarge',
				))
				->clearDecorators()
				->addDecorator('ViewHelper')
				->setRequired()
		;

		$this->addElement($stSenha = new ZFKiller_Form_Element_Password('stsenha'));
		$stSenha
				->clearDecorators()
				->addDecorator('ViewHelper')
				->setRequired()
		;

		$this->setAction(Work_LoginController::$_uriLoginCheck);
	}

}